.nav-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  background: $dark_gray;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

nav {
  margin: 3.4rem auto 0;
  max-width: 140rem;
  button {
    margin: 1.8rem 1.8rem 0 0;
    font-size: 1.3rem !important;
  }
}

.nav-group {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.links {
  display: inline-block;
  a {
    text-transform: uppercase;
    color: $gray;
    i {
      display: none;
    }
  }
  .external-links {
    display: none;
  }
  .nav-links a {
    display: inline-block;
    position: relative;
    font-size: 1.2rem;
    white-space: nowrap;
    padding: 2rem 1rem;
    letter-spacing: 1.2px;
    transition: font-weight 0.2s ease;
    &:hover {
      font-weight: bold;
      color: $white;
    }
    &.active {
      pointer-events: none;
      font-weight: bold;
      color: $white;
      &:after {
        transition: all 0.4s ease;
        transform: translateY(-3px);
      }
    }
    &:before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      right: 0;
      height: 3px;
      background: $white;
    }
    &:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      right: 0;
      height: 3px;
      background: $dark_gray;
    }
  }
}

.nav-right {
  a {
    font-weight: normal;
    color: $black;
    cursor: pointer;
    &:hover {
      font-weight: bold;
    }
    i {
      margin-right: 0.8rem;
    }
  }
  .app-version {
    color: $white;
    a {
      color: $white;
    }
  }
  .pt-popover-content {
    position: relative;
    width: 22rem;
    a:not(.app-version) {
      display: inline-block;
      margin-bottom: 0.6rem;
    }
    .app-version {
      margin: 1rem -1rem -1rem;
      background: $dark_gray;
      color: $white;
      padding: 0.5rem 0 0 1rem;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      label {
        color: $white;
      }
    }
  }
  .pt-overlay-content {
    margin-top: 1.6rem;
    color: $white;
  }
  .pt-popover-wrapper {
    a {
      color: $white;
    }
    .pt-popover-arrow-fill {
      fill: $dark_gray;
    }
    .pt-popover-content {
      background: $dark_gray;
    }
  }
}

.mobile-menu {
  .nav-links {
    a {
      display: block;
    }
    i {
      display: inline-block;
      margin-right: 1rem;
    }
  }
}

@media screen and (max-width: 974px) {
  .top-menu-container .nav-links {
    display: none;
  }
}

@media screen and (min-width: 975px) {
  .mobile-menu-icon {
    display: none !important;
  }
}
